package org.grapes.wine.api.server.method.factory;

import org.grapes.wine.api.method.EWineMethod;
import org.grapes.wine.api.server.method.MethodCommand;
import org.grapes.wine.api.server.method.impl.MethodList;

public class MethodCommandFactory {
	private static MethodCommand methodCommand;

	public static MethodCommand newInstance(EWineMethod wineMethod) {
		methodCommand = MethodList.getMethod(wineMethod);
		return methodCommand;
	}
}
